#ifndef CONNECT_H
#define CONNECT_H

#include <QDialog>

namespace Ui {
    class Connect;
}

class Connect : public QDialog
{
    Q_OBJECT

public:
    explicit Connect(QWidget *parent = 0);
    ~Connect();

private slots:

    bool createConnection(QString user, QString password, QString host, QString database, int port);

    void on_MoreButton_clicked();

    void on_ConnectButton_clicked();

signals:
    void Connected();

private:
    Ui::Connect *ui;
};

#endif // CONNECT_H
